package com.where.test.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/02/23/10:23
 * @Description:
 */
@Data
@ApiModel(value="user对象",description="用户对象user")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value="用户名",name="username",example="xingguo")
    private String username;
    @ApiModelProperty(value="状态",name="state",required=true)
    private Integer state;
    private String password;
    private String nickName;
    private Integer isDeleted;

    private Date createTime;

    @ApiModelProperty(value="id数组",hidden=true)
    private String[] ids;
    private List<String> idList;
    //省略get/set
}